//: typeinfo/GenericClassReferences.java
package typeinfo;
public class GenericClassReferences {
  public static void main(String[] args) {
    Class intClass = int.class;//普通Class
    Class<Integer> genericIntClass = int.class;//有泛型的Class
    genericIntClass = Integer.class; // Same thing
    intClass = double.class;//没有泛型时他很通用
    // genericIntClass = double.class; // Illegal 带泛型就会设计类型检查
  }
} ///:~
